@charset "utf-8";

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-width: 1024px;
  height: 48px;
  max-height: 44px;
  background-color: rgba(45, 45, 45, 0.98);
  color: #fff;
  font-size: 14px;
  z-index: 999;
}

header nav {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 22px;
  z-index: 2;
  user-select: default;
}

header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

header .nav .nav-item:hover {
  opacity: .65;
}

header .nav .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 44px;
  box-sizing: border-box;
}

header .nav .nav-item:nth-child(7) {
  width: auto;
}

header .nav .nav-item:nth-child(7) span {
  font-size: 12px;
}

header .nav .nav-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 14px;
}

header .nav .nav-item a span {}

header .nav .nav-item:first-child a,
header .nav .nav-item:last-child a,
header .nav .nav-item:nth-child(8) a {
  width: 16px;
  background: no-repeat center/16px 44px;
}

header .nav .nav-item:first-child a {
  width: 16px;
  background: url(https://www.apple.com/ac/globalnav/4/zh_CN/images/globalnav/apple/image_large.svg) no-repeat center/16px 44px;
}

header .nav .nav-item:last-child a {
  width: 16px;
  background: url(https://www.apple.com/ac/globalnav/4/zh_CN/images/globalnav/bag/image_large.svg) no-repeat center/16px 44px;
}

header .nav .nav-item:nth-child(8) a {
  width: 16px;
  background: url(https://www.apple.com/ac/globalnav/4/zh_CN/images/globalnav/search/image_large.svg) no-repeat center/16px 44px;
}

header .cover {
  position: absolute;
  top: 0;
  left: 500px;
  right: 0;
  height: 0;
  background-color: rgba(45, 45, 45, 0.98);
  opacity: 0;
}

header .searchbox-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: none
}

header .search-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 682px;
  opacity: 0;
  margin: 0 auto;
}

header .search-box .top {
  display: flex;
  align-items: center;
  height: 44px;
  background-color: rgba(45, 45, 45, 0.98);
}

header .search-box .top #search-cancel {
  position: absolute;
  right: -100px;
  font-size: 26px;
  font-weight: 300;
  color: #969090;
  cursor: pointer;
}

header .search-box .top input {
  width: calc(100% - 42px - 16px);
  padding: 0 17px 0 42px;
  background-color: transparent;
  border: none;
  outline: none;
  line-height: 1.29412;
  font-size: 17px;
  color: #fff;
}

header .search-box .top input::placeholder {
  color: #aaa3a3;
  font-size: 15px;
}

header .search-box .top button {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  width: 42px;
  background: url(https://www.apple.com/ac/globalnav/4/zh_CN/images/globalnav/search/image_large.svg) no-repeat 50% 50% / contain;
  border: none;
  outline: none;
}

header .search-box .quick-link {
  padding: 24px 0 18px;
  background-color: #fff;
  color: #888;
}

header .search-box .quick-link dt {
  padding-left: 40px;
  padding-bottom: 6px;
  font-size: 11px;
  line-height: 1;
}

header .search-box .quick-link dd {
  margin: 0 10px;
  padding: 5px 48px;
  line-height: 24px;
  color: #333333;
  cursor: pointer;
}

header .search-box .quick-link dd:hover {
  color: lightseagreen;
  background-color: #f2f2f2;
}